// Copyright (c) 2017, Xiaomi, Inc.  All rights reserved.
// This source code is licensed under the Apache License Version 2.0, which
// can be found in the LICENSE file in the root directory of this source tree.

#pragma once
#include <dsn/service_api_cpp.h>
#include <dsn/cpp/serialization.h>

#include "rrdb_types.h"

namespace dsn {
namespace apps {
GENERATED_TYPE_SERIALIZATION(update_request, THRIFT)
GENERATED_TYPE_SERIALIZATION(update_response, THRIFT)
GENERATED_TYPE_SERIALIZATION(read_response, THRIFT)
GENERATED_TYPE_SERIALIZATION(ttl_response, THRIFT)
GENERATED_TYPE_SERIALIZATION(count_response, THRIFT)
GENERATED_TYPE_SERIALIZATION(key_value, THRIFT)
GENERATED_TYPE_SERIALIZATION(multi_put_request, THRIFT)
GENERATED_TYPE_SERIALIZATION(multi_remove_request, THRIFT)
GENERATED_TYPE_SERIALIZATION(multi_remove_response, THRIFT)
GENERATED_TYPE_SERIALIZATION(multi_get_request, THRIFT)
GENERATED_TYPE_SERIALIZATION(multi_get_response, THRIFT)
GENERATED_TYPE_SERIALIZATION(incr_request, THRIFT)
GENERATED_TYPE_SERIALIZATION(get_scanner_request, THRIFT)
GENERATED_TYPE_SERIALIZATION(scan_request, THRIFT)
GENERATED_TYPE_SERIALIZATION(scan_response, THRIFT)
}
}
